# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-statmake
pkgver=0.5.0
pkgrel=0
pkgdesc="Applies STAT information from a Stylespace to a variable font"
url="https://github.com/daltonmaag/statmake"
arch="noarch"
license="MIT"
depends="python3 py3-attrs py3-cattrs py3-fonttools"
makedepends="py3-setuptools"
options="!check" # fail locally
source="https://files.pythonhosted.org/packages/source/s/statmake/statmake-$pkgver.tar.gz"
builddir="$srcdir/statmake-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
af040443c2286ba3879f0d4718332a5a1983a42a5d7b532e4bc3955c0c97cbcb7f889070d0d0ac79d85c236a68f77f513b18ba09e71881f625987266fe47dcd6  statmake-0.5.0.tar.gz
"
